#pragma once

#include "land_2d.h"

int
landInitSceneContext();
void
landInitShapeContext();
void
landInitImageContext();
int
landInitLabelContext();
void
landInitTextContext();
int
landInitSpriteContext();

void
landVisitObj(void* obj, LandMatrix2D* transform, int force);
void
landPreDrawObj(LandScene* scene, LandObj* obj);
void
landDrawObj(LandScene* scene, LandObj* obj);
unsigned
landPushObjRect(LandVertex* vertex,
	LandVector* rect, LandVector* uv,  LandVector* color,
	unsigned* offset, LandMatrix2D* transform);